package com.homestead.enums;

import com.homestead.exception.ResponseErrorCode;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * @author HanBin_Yang
 * @since 2021/4/10 23:58
 */
@AllArgsConstructor
public enum CommonErrorCode implements ResponseErrorCode {
    /**
     * 通用error
     */
    SYSTEM_BUSY("A00001","系统繁忙，请稍后！"),

    NAME_OR_PASSWORD_ERROR("A00002", "用户名或密码错误，请重新输入"),
    ;

    @Getter
    @Setter
    private String code;

    @Getter
    @Setter
    private String message;
}
